package com.snatch.deal.shop.common.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class RandomUtils {
    private static SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");

    public static String random(){
        StringBuffer stringBuffer = new StringBuffer("O");
        stringBuffer.append(sdf.format(new Date())).append(UUIDUtils.getUUID().substring(0, 17));
        return stringBuffer.toString();
    }
}